home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: giuliano@ix.netcom.com(Giuliano Carlini)
- Newsgroups: comp.lang.c++
- Subject: Re: A class with pointers to yet undeclared classes
- Date: 16 Apr 1996 04:32:47 GMT
- Organization: Netcom
- Message-ID: <4kv7tf$g2q@dfw-ixnews4.ix.netcom.com>
- References: <4ksden$276@decaxp.HARVARD.EDU>
- NNTP-Posting-Host: lbx-ca10-13.ix.netcom.com
- X-NETCOM-Date: Mon Apr 15 11:32:47 PM CDT 1996
-
- In <4ksden$276@decaxp.HARVARD.EDU> mueller@course1.HARVARD.EDU (Mark
- Mueller) writes:
- >
- >How do I convince the compiler that class B is going to be declared
- later?
-
- class B;
-
- class A {
- B* foo();
- };
-
- class B {...};
-
-
-